package com.nice.rm.core;

import java.util.List;

public class QueryParameter<T> {
    public List<T> data;
    public int pageSize;
    public int page;
    public String key;
    public String field;
    public IndexObjConvertor<T> callback;

    public QueryParameter(List<T> data, int pageSize, int page, String key, String field,
	    IndexObjConvertor<T> callback) {
	this.data = data;
	this.pageSize = pageSize;
	this.page = page;
	this.key = key;
	this.field = field;
	this.callback = callback;
    }
}